/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package poker;

import java.applet.*;
import javax.swing.*;
import java.io.*;
import java.net.*;


/**
 *
 * @author Matt
 */
public class Sound {
  Sound()
  {
      try
      {
        song = Applet.newAudioClip(new URL("http://www.pachd.com/sfx/shuffle_cards.wav"));
      }
      catch(Exception e)
      {
          System.err.println("Error Sound");
          System.err.println(e);
      }
  }

  public void playSound()
  {
      song.play();
  }

  private AudioClip song;
}
